#import "TonicLuminescenceCell.h"


@implementation TonicLuminescenceCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {

		self.selectionStyle = UITableViewCellSelectionStyleNone;
		//self.contentView.backgroundColor = UIColor.whiteColor;

		//: 初始化UI布局
		[self doodleNomadWondermentInitUIKit];
	}
	return self;
}

- (void)setInvincibleMellowRebirth:(TonicLuminescenceModel *)invincibleMellowRebirth {
	_invincibleMellowRebirth = invincibleMellowRebirth;

	//: 配置cell的UI

	self.oracleThriveLabel.text = invincibleMellowRebirth.quest;

}
//: self.unityBinaryVirtuousButton 的点击事件
- (void)action_1 {}

- (UILabel *)oracleThriveLabel {
	if (!_oracleThriveLabel) {
	
        _oracleThriveLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _oracleThriveLabel.text = @"label_2";
        _oracleThriveLabel.font = [UIFont systemFontOfSize:15 weight:UIFontWeightRegular];
        _oracleThriveLabel.textColor = [UIColor colorWithRed:40/255.0 green:230/255.0 blue:184/255.0 alpha:0.6];
        _oracleThriveLabel.textAlignment = NSTextAlignmentCenter;
        _oracleThriveLabel.numberOfLines = 0;
	}
	return _oracleThriveLabel;
}

- (UIView *)zealKnotView {
	if (!_zealKnotView) {
	
        _zealKnotView = [[UIView alloc] initWithFrame:CGRectZero];
	}
	return _zealKnotView;
}

- (UITextView *)binaryBalanceTextView {
	if (!_binaryBalanceTextView) {
	
        _binaryBalanceTextView = [UITextView new];
	}
	return _binaryBalanceTextView;
}

- (UIView *)euphoriaLullabyView {
	if (!_euphoriaLullabyView) {
	
        _euphoriaLullabyView = [[UIView alloc] init];
	}
	return _euphoriaLullabyView;
}

//: artistryArcaneReverie 的点击事件
- (void)action_8 {}

- (void)doodleNomadWondermentInitUIKit {

    //: 描述_0
    UIView *freedomHarbinger = [UIView new];
    self.flowJuggleView = freedomHarbinger;
    [self.contentView addSubview:freedomHarbinger];
	[self.flowJuggleView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(47);
		make.height.mas_equalTo(93);
		make.bottom.equalTo(@(23));
	}];


    //: 描述_1
    self.unityBinaryVirtuousButton = [[UIButton alloc] init];
    UIImage *glimpse = [UIImage imageNamed:@"images/icon_1.png"];
    if (glimpse) {
	    [self.unityBinaryVirtuousButton setImage:glimpse forState:UIControlStateNormal];
    }
    [self.unityBinaryVirtuousButton setTitle:@"button_1" forState:UIControlStateNormal];
    [self.unityBinaryVirtuousButton setTitle:@"button_selected_1" forState:UIControlStateSelected];
    [self.unityBinaryVirtuousButton setTitleColor:[UIColor colorWithRed:131/255.0 green:57/255.0 blue:34/255.0 alpha:0.7] forState:UIControlStateNormal];
    [self.unityBinaryVirtuousButton setTitleColor:[UIColor colorWithRed:72/255.0 green:254/255.0 blue:179/255.0 alpha:0.9] forState:UIControlStateSelected];
    [self.unityBinaryVirtuousButton addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.unityBinaryVirtuousButton];
	[self.unityBinaryVirtuousButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(100);
		make.height.mas_equalTo(155);
		make.top.equalTo(@(16));
		make.bottom.equalTo(@(18));
	}];

	//: 描述_2
	[self.contentView addSubview:self.oracleThriveLabel];
	[self.oracleThriveLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(67);
		make.height.mas_equalTo(161);
		make.top.equalTo(@(15));
		make.bottom.equalTo(@(15));
	}];

	//: 描述_3
	[self.contentView addSubview:self.zealKnotView];
	[self.zealKnotView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(60);
		make.height.mas_equalTo(78);
		make.bottom.equalTo(@(24));
	}];

	//: 描述_4
	[self.contentView addSubview:self.binaryBalanceTextView];
	[self.binaryBalanceTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(69);
		make.height.mas_equalTo(169);
		make.top.equalTo(@(11));
		make.bottom.equalTo(@(29));
	}];

	//: 描述_5
	[self.contentView addSubview:self.euphoriaLullabyView];
	[self.euphoriaLullabyView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(153);
		make.height.mas_equalTo(85);
		make.top.equalTo(@(18));
	}];


    //: 描述_6
    UITextView *dreamscape = [[UITextView alloc] initWithFrame:CGRectZero];
    dreamscape.frame = CGRectMake(14, 24, 157, 179);
    self.nirvanaTextView = dreamscape;
    [self.contentView addSubview:dreamscape];


    //: 描述_7
    self.curiousFusionQuiverTextField = [UITextField new];
    self.curiousFusionQuiverTextField.size = CGSizeMake(159, 40);
    self.curiousFusionQuiverTextField.left = 31;
    self.curiousFusionQuiverTextField.top = 2;
    [self.contentView addSubview:self.curiousFusionQuiverTextField];


    //: 描述_8
    UIButton *artistryArcaneReverie = [[UIButton alloc] init];
    UIImage *illuminateHummingbirdSymphony = [UIImage imageNamed:@"images/icon_8.png"];
    if (illuminateHummingbirdSymphony) {
	    [artistryArcaneReverie setImage:illuminateHummingbirdSymphony forState:UIControlStateNormal];
    }
    [artistryArcaneReverie setTitle:@"button_8" forState:UIControlStateNormal];
    [artistryArcaneReverie setTitle:@"button_selected_8" forState:UIControlStateSelected];
    [artistryArcaneReverie setTitleColor:[UIColor colorWithRed:42/255.0 green:183/255.0 blue:168/255.0 alpha:0.7] forState:UIControlStateNormal];
    [artistryArcaneReverie setTitleColor:[UIColor colorWithRed:174/255.0 green:205/255.0 blue:62/255.0 alpha:1.0] forState:UIControlStateSelected];
    [artistryArcaneReverie addTarget:self action:@selector(action_8) forControlEvents:UIControlEventTouchUpInside];
    self.imaginationBtn = artistryArcaneReverie;
    [self.contentView addSubview:artistryArcaneReverie];
	[self.imaginationBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(162);
		make.height.mas_equalTo(121);
		make.top.equalTo(@(29));
		make.bottom.equalTo(@(10));
	}];
}


@end